import ReactDOM from 'react-dom'
import Hello from '../components/Hello.js'
import Demo from '../components/Demo.js'

const element = <div>
  <h1>函数组件</h1>
  <Hello></Hello>
  <Demo></Demo>
</div>

ReactDOM.render(element, document.getElementById('root'))